import Vue from "vue";
import App from "./App.vue";
// 导入vantui
import "@/utils/vantui.js";
// 引入flexible.js进行移动端适配
import "amfe-flexible";
// 导入初始化样式
import "@/assets/style";
import router from "@/router";
import store from "@/store";
import moment from "moment";

Vue.config.productionTip = false;

Vue.prototype.$moment = moment;
Vue.prototype.$momentFun = (result, str = "YYYY-MM-DD HH:mm:ss") => {
  return moment(result).format(str);
};

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
